package cn.yb.servlet.impl;

import cn.yb.dao.xianlidao;
import cn.yb.pojo.Xianli;
import cn.yb.servlet.xianliservlet;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class xianliservletimpl implements xianliservlet{

    @Autowired
    public xianlidao xianliservlet;


    @Override
    public List<Xianli> selectByAll() {
        return xianliservlet.selectall();
    }

    @Override
    public Integer addxianliser(Xianli xianli) {
        return xianliservlet.addxianli(xianli);
    }
}
